import request from '@/plugins/axios/request';
let baseURL = process.env.VUE_APP_BASE_API + "/se/menu"


export function getDicts(data) {
  return request({
    url: `${baseURL}/saveOrUpdate`,
    method: 'post',
    data: data,
    isShowMessage: false
  })
}

// 菜单列表
export function allMenu(data) {
  return request({
    url: `${baseURL}/menu/treeselect`,
    method: 'get',
    params: data,
    isShowMessage: false
  })
}





